## this opens the adegenet website
adegenetWeb()
.genlab("Locus-",11)
## transparent colors using "transp"
plot(rnorm(1000), rnorm(1000), col=transp("blue",.3), pch=20, cex=4)
## numeric values to color using num2col
plot(1:100, col=num2col(1:100), pch=20, cex=4)
plot(1:100, col=num2col(1:100, col.pal=rainbow), pch=20, cex=4)
Run the code above in your browser using DataLab